from zope.interface import Interface, Attribute


class IAgent(Interface):
    """models an agent"""
    
    username = Attribute("""the username used to login""")
    
    
    
class ISecondLifeAgent(IAgent):
    """models an agent as known from Second Life"""
    
    firstname = Attribute("""the first name of the agent""")
    lastname = Attribute("""the last name of the agent""")
    password = Attribute("""the password of the agent in MD5""")
    
    sl_about = Attribute("""about page""") # this might point to some IProfile
    rl_about = Attribute("""RL about page""") # this might point to some IProfile
    
    picks = Attribute("""picks of that agent""")
    groups = Attribute("""list of IGroup objects""")
    contacts = Attribute("""list of IContact objects""")
    
class IGroup(Interface):
    """a group"""
    
class ISecondLifeGroup(IGroup):
    """a second life like group"""
    
    